package com.library.entity;

public class User {
    private Integer id;

    private String username;

    private String studentid;

    private String password;

    private Integer credits;

    private Integer booknumbers;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getStudentid() {
        return studentid;
    }

    public void setStudentid(String studentid) {
        this.studentid = studentid == null ? null : studentid.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public Integer getBooknumbers() {
        return booknumbers;
    }

    public void setBooknumbers(Integer booknumbers) {
        this.booknumbers = booknumbers;
    }
}